﻿using System.Collections.Generic;
using System.Linq;

namespace Citi.ExpenseReport.Domain
{
    public partial class SubService
    {
        public List<SubService> SelectByService(int serviceId)
        {
            return SelectAll<SubService>().Where(s => s.ServiceId == serviceId).ToList();
        }
    }
}